package com.vpt;

import java.util.concurrent.TimeUnit;

public class Counter {
	volatile static int count=0;
	public static void inc() {
		try {
			TimeUnit.MILLISECONDS.sleep(1);
		} catch (InterruptedException e) {
		}
		count++;
		//++count;
		//AtomicInteger
	}
}
